Float content more, we divided up, the next two articles to introduce, the previous article has been written, this is the next article. Suggest that we first read the previous article, and then look at the following, wonderful content do not skim ah.
The following describes the precision of float operations in javascript. Someone asked a js question:
The Code is as follows:
Var I = 0.07;Var r = I * 100;Alert (r );
Why is the result 7.0000000000000001?
After checking the information, we know
What is JSON? Data format prepared for JavaScriptNot yet understand what JSON is? After reading this article, you should be able to have a clearer idea of what JSON is.JSON is JavaScript. Object Natation, which is a lightweight data interchange
1th Chapter Essence
Some of the features of JavaScript feature a lot more trouble than they are worth. Some of these features are because the specification is so imperfect that it can cause portability problems; Some features can lead to the
From: http://student.csdn.net/space.php? Uid = 45106 & Do = Blog & view = me
Chapter 2 Some of the essential JavaScript features bring much more trouble than they do. Some of these features may cause portability problems due to imperfect
We often see some data types in javascript, such as "undefined", "boolean", and "string, this article will help you learn the basic JavaScript data types, value types, and reference types. For more information, see this article, four basic data
JavaScript is not just a script in this technical forum. I would like to write JavaScript For You. Hoho
JavaScript seems to have always been regarded as a parsing script language, and developers often take a close look at it. I think that there is
JavaScript is not just a script in this technical forum. I would like to write JavaScript for you. Hoho
JavaScript seems to have always been regarded as a parsing script language, and developers often take a close look at it. I think that there is
Someone asked a js question:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var i = 0.07;var r = i*100;alert(r);
Why is the result 7.0000000000000001?
After checking the information, we know that
Someone asked a js question:Copy codeThe Code is as follows:Var I = 0.07;Var r = I * 100;Alert (r ); Why is the result 7.0000000000000001?After checking the information, we know that in JavsScript, variables are stored by float instead of the number
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.